package com.DefectTracking;


import java.util.Date;
//import java.util.*;
public class DefectDetail {
        private int DefectID;
        private String Summary;
        private String Details;
        private int DetectedBy;
        private Date DetectedOn;
        private int StatusID;
        private int ProjectID;
        private Date ClosedDate;
        private int AssignedTo;
        private String DetectedByFname;
        private String DetectedByLname;
        private String DefectstatusName;
        private String AssigneeFname;
        private String AssigneeLname;
        private String EmailAdd;

        public DefectDetail () {}

        public DefectDetail (int defectID, String summary, String details, int detectedBy,
                        Date detectedOn, int statusID, int projectID, Date closedDate, int assignedTo,
                        String detectedByFname, String detectedByLname, String defectstatusName,
                        String assigneeFname, String assigneeLname, String emailadd) {

                DefectID = defectID;
                Summary = summary;
                Details = details;
                DetectedBy = detectedBy;
                DetectedOn = detectedOn;
                StatusID = statusID;
                ProjectID = projectID;
                ClosedDate = closedDate;
                AssignedTo = assignedTo;
                DetectedByFname = detectedByFname;
                DetectedByLname = detectedByLname;
                DefectstatusName = defectstatusName;
                AssigneeFname = assigneeFname;
                AssigneeLname = assigneeLname;
                EmailAdd = emailadd;

        }

        public int getDefectID() {
                return DefectID;
        }
        public void setDefectID(int defectID) {
            this.DefectID = defectID;
        }
        public String getSummary() {
                return Summary;
        }
        public void setSummary(String summary) {
            	this.Summary = summary ;
        }
        public String getDetails() {
                return Details;
        }
        public void setDetails(String details) {
        	this.Details = details ;
        }
        public int getDetectedBy() {
                return DetectedBy;
        }
        public void setDetectedBy(int detectedBy) {
            	this.DetectedBy = detectedBy;
        }
        public Date getDetectedOn() {
                return DetectedOn;
        }
        public void setDetectedOn(Date detectedOn) {
            	this.DetectedOn = detectedOn;
        }
        public int getStatusID() {
                return StatusID;
        }
        public void setStatusID(int statusID) {
             	this.StatusID = statusID ;
        }
        public int getProjectID() {
                return ProjectID;
        }
        public void setProjectID(int projectID) {
            	this.ProjectID = projectID;
        }
        public Date getClosedDate() {
                return ClosedDate;
        }
        public void setClosedDate(Date closedDate) {
            	this.ClosedDate = closedDate;
        }
        public int getAssignedTo() {
            	return AssignedTo;
        }
        public void setAssignedTo(int assignedTo) {
        	this.AssignedTo = assignedTo;
        }
        public String getDetectedByFname() {
        	return DetectedByFname;
        }
        public void setDetectedByFname(String detectedByFname) {
    		this.DetectedByFname = detectedByFname;
        }
        public String getDetectedByLname() {
    		return DetectedByLname;
        }
        public void setDetectedByLname(String detectedByLname) {
    		this.DetectedByLname = detectedByLname;
        }
        public String getDefectstatusName() {
    		return DefectstatusName;
        }
        public void setDefectstatusName(String defectstatusName) {
    		this.DefectstatusName = defectstatusName;
        }
        public String getAssigneeFname() {
    		return AssigneeFname;
        }
        public void setAssigneeFname(String assigneeFname) {
    		this.AssigneeFname = assigneeFname;
        }
        public String getAssigneeLname() {
    		return AssigneeLname;
        }
        public void setAssigneeLname(String assigneeLname) {
    		this.AssigneeLname = assigneeLname;
        }
        public String getEmailAdd() {
    		return EmailAdd;
        }
        public void setEmailAdd(String emailAdd) {
    		this.EmailAdd = emailAdd;
        }

        public String toString() {
            	StringBuilder sb = new StringBuilder();
            	sb.append(DefectID);
            	sb.append(Summary);
            	sb.append(Details);
            	sb.append(DetectedBy);
            	sb.append(DetectedOn);
            	sb.append(StatusID);
            	sb.append(ProjectID);
            	sb.append(ClosedDate);
            	sb.append(AssignedTo);
            	sb.append(DetectedByFname);
            	sb.append(DetectedByLname);
            	sb.append(DefectstatusName);
            	sb.append(AssigneeFname);
            	sb.append(AssigneeLname);
            	sb.append(EmailAdd);

                return sb.toString();
        }

}
